<?php 
class indexClassAction extends Action
{
	
	public function defaultAction()
	{
		
	}
	
	/**
	* 获取统计
	*/
	public function totalAction()
	{
		$day 	 = $this->date;
		$files 	 = m('file')->rows("`adddt` like '".$day."%'");
		$loginjl = m('logintoken')->rows("`moddt` like '".$day."%'");
		
		return array(
			'files' => $files,
			'loginjl' => $loginjl,
		);
	}
	
}